﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using Ace.Application;
using Chloe.Entities.Enums;

namespace Chloe.Application.Models.Member
{
    public class AddOrUpdateActivityInput : ValidationModel
    {
        [RequiredAttribute(ErrorMessage = "会员名称不能为空")]
        public string Name { get; set; }
        public string OnlineName { get; set; }
        public string IdNumber { get; set; }
        public Gender? Gender { get; set; }
        public DateTime Birthday { get; set; }
        public string MobilePhone { get; set; }
        public IsMember? IsMember { get; set; }
        public string WeChat { get; set; }
        public int? SortCode { get; set; }
        public string Description { get; set; } 
    }
    public class AddMemberInput : AddOrUpdateActivityInput
    {
    }
    public class UpdateMemberInput : AddOrUpdateActivityInput
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public string Id { get; set; }
    }
}
